package com.example.entity;

import lombok.Data;

/**
 * @author: 康伟奇
 * @date: 2023 - 12 - 19 11:38
 **/
//购物车实体类
@Data
public class Cart {
    /**ID**/
    private Integer id;
    /**商品ID**/
    private Integer goodsId;
    /**数量**/
    private Integer num;
    /**用户ID**/
    private Integer userId;
    /**商家ID**/
    private Integer businessId;

    /**商品信息**/
    private Goods goods;
    /**商家信息**/
    private Business business;
}
